import { baseAjax } from "../utils/baseAjax";

// 订单列表
export const listOrder = (data, successHandle) => {
	return baseAjax({
		url: '/api/user/order/list',
		type: 'post',
		data,
		success: successHandle
	})
}
// 订单详情
export const getOrderDetail = (id, successHandle) => {
	return baseAjax({
		url: '/api/user/order/' + id,
		type: 'get',
		success: successHandle
	})
}